<script>
import $http from './utils/http/index.js'
import $common from './utils/function/common'

export default {
  globalData: {
    $http: $http,
    $common: $common,
    now_version: '1.0',
    use_car_onShow: true
  },

  onLaunch: function () {
    //#ifdef APP-PLUS
    plus.screen.lockOrientation('portrait-primary'); // 强制竖屏
    //#endif
  }
}
</script>

<style lang="scss">
page{
  font-size: 28rpx;
  background: #F2F6F7;
}

/*每个页面公共css */
.common-price {
  color: #F0502D;
  font-size: 32rpx;
  //font-weight: bold;

  .small {
    font-size: 28rpx;
    font-weight: 400;
  }
}

checkbox{
  transform: scale(1);
}

//设置圆角
checkbox.round .wx-checkbox-input,
checkbox.round .uni-checkbox-input {
  border-radius: 50%;
}

//设置背景色
checkbox.color[checked] .wx-checkbox-input,
checkbox.color.checked .uni-checkbox-input {
  background-color: #4297BD !important;
  border-color: #4297BD !important;
  color: #ffffff !important;
}


#mask {
  position: fixed;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  filter: alpha(opacity=100);
  opacity: 1;
  display: block;
  overflow: hidden;
  z-index: 99999;

  .mask-content {
    display: flex;
    position: fixed;
    padding: 20rpx 20rpx 240rpx 20rpx;
    width: calc(100% - 40rpx);
    left: 0;
    bottom: 0;
    z-index: 999999;
    flex-direction: column;
    background: #fff;
    height: 490rpx;
    border-radius: 28rpx 28rpx 0 0;

    .main-content {
      padding: 20rpx 40rpx;

      .title {
        font-size: 32rpx;
        text-align: center;
      }

      .avatar-btn {
        margin-top: 60rpx;
        background-color: white;

        .btnImg {
          width: 120rpx;
          height: 120rpx;
          border-radius: 60rpx;
        }
      }

      .avatar-btn::after {
        border: 0;
      }

      .row {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding: 10rpx 0;
        border-top: 1rpx solid #e5e5e5;
        border-bottom: 1rpx solid #e5e5e5;

        .left {
          width: 120rpx;
        }

        .mobile {
          padding: 20rpx;
        }

        .input {
          border: none;
          padding: 20rpx;
          border-radius: 20rpx;
          text-align: right;
          flex: 1;
        }

        .mobile-btn {
          color: #fff;
          background: $main-color;
          padding: 0 30rpx;
          font-size: 28rpx;
          margin: 0;
          border: none;
        }
      }

      .btn-box {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-top: 40rpx;

        .button {
          font-size: 32rpx;
          flex: 1;
          text-align: center;
          border-radius: 50rpx;
        }

        .cancel {
          background: #9d9b9b;
          color: #fff;
          border: none;
        }

        .save {
          background: $main-color;
          color: #fff;
          margin-left: 40rpx;
          border: none;
          outline: none;
        }
      }

    }

    .agree-box {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;

      .agree-btn {
        margin: 0;
        padding: 0;
        position: static;
        background-color: transparent;
        height: 104rpx;
        width: 60rpx;
        border: none;
      }

      .agree-btn::after {
        border: 0;
        content: none;
      }

      .box {
        font-size: 32rpx;
        color: #666;

        .text {
          color: $main-color;
        }
      }
    }
  }
}
</style>
